package com.hongye.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongye.common.core.annotation.Excel;
import com.hongye.common.core.web.domain.BaseEntity;

/**
 * 学校列表对象 fang_school
 * 
 * @author hdd
 * @date 2025-01-09
 */
public class FangSchool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String title;

    /** 城市区域id */
    private Integer city;

    /** 学校类型 */
    private Integer type;

    /** 缩略图 */
    private String img;

    /** 纬度 */
    private String lat;

    /** 经度 */
    private String lng;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 介绍 */
    @Excel(name = "介绍")
    private String info;

    /** 排序 越小越托靠前 */
    @Excel(name = "排序 越小越托靠前")
    private Integer ordid;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 学校等级 */
    @Excel(name = "学校等级")
    private String grade;

    /** 学校性质 */
    @Excel(name = "学校性质")
    private String nature;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long hits;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String seoTitle;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String seoKeys;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String seoDesc;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCity(Integer city) 
    {
        this.city = city;
    }

    public Integer getCity() 
    {
        return city;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setOrdid(Integer ordid) 
    {
        this.ordid = ordid;
    }

    public Integer getOrdid() 
    {
        return ordid;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setNature(String nature) 
    {
        this.nature = nature;
    }

    public String getNature() 
    {
        return nature;
    }
    public void setHits(Long hits) 
    {
        this.hits = hits;
    }

    public Long getHits() 
    {
        return hits;
    }
    public void setSeoTitle(String seoTitle) 
    {
        this.seoTitle = seoTitle;
    }

    public String getSeoTitle() 
    {
        return seoTitle;
    }
    public void setSeoKeys(String seoKeys) 
    {
        this.seoKeys = seoKeys;
    }

    public String getSeoKeys() 
    {
        return seoKeys;
    }
    public void setSeoDesc(String seoDesc) 
    {
        this.seoDesc = seoDesc;
    }

    public String getSeoDesc() 
    {
        return seoDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("city", getCity())
            .append("type", getType())
            .append("img", getImg())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("address", getAddress())
            .append("info", getInfo())
            .append("ordid", getOrdid())
            .append("status", getStatus())
            .append("grade", getGrade())
            .append("nature", getNature())
            .append("hits", getHits())
            .append("seoTitle", getSeoTitle())
            .append("seoKeys", getSeoKeys())
            .append("seoDesc", getSeoDesc())
            .toString();
    }
}
